/* 全局样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
    Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#app {
  width: 100%;
  height: 100%;
}

/* 链接样式 */
a {
  color: #165DFF;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* 自定义ArcoDesign主题变量 */
:root {
  --primary-color: #165DFF;
  --success-color: #00B42A;
  --warning-color: #FF7D00;
  --danger-color: #F53F3F;
}

/* ========== 设计系统变量 ========== */
:root {
  /* 间距系统 */
  --space-xxs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-xxl: 3rem;

  /* 响应式断点 */
  --breakpoint-sm: 576px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 992px;
  --breakpoint-xl: 1200px;

  /* 颜色层次 */
  --color-primary-light: #e8f1ff;
  --color-primary-lighter: #f5f8ff;
  --color-text-primary: #1d2129;
  --color-text-secondary: #4e5969;
  --color-text-tertiary: #86909c;
  --color-bg-light: #f7f8fa;
  --color-border-light: #f2f3f5;
}

/* ========== 新增美化样式 ========== */
/* 响应式容器 */
.container {
  width: 100%;
  padding: 0 var(--space-md);
  margin: 0 auto;
}
@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}
@media screen and (max-width:768px) {
 .arco-modal{
  width:80% !important;
 }
}
@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}
@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

/* 页面过渡动画 */
.page-enter-active,
.page-leave-active {
  transition: opacity 0.3s ease;
}
.page-enter-from,
.page-leave-to {
  opacity: 0;
}

/* 按钮悬停效果 */
.button-hover {
  transition: all 0.2s ease;
}
.button-hover:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* 卡片动画 */
.card {
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* 加载动画 */
@keyframes spin {
  to { transform: rotate(360deg); }
}
.loading-spinner {
  animation: spin 1s linear infinite;
}

/* 增强卡片样式 */
.enhanced-card {
  background: white;
  border-radius: 12px;
  padding: var(--space-lg);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  border: 1px solid var(--color-border-light);
}
.enhanced-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

/* 增强按钮样式 */
.enhanced-button {
  padding: var(--space-sm) var(--space-md);
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}
.enhanced-button--primary {
  background: var(--primary-color);
  color: white;
}
.enhanced-button--primary:hover {
  background: #0e4acc;
  box-shadow: 0 2px 8px rgba(22, 93, 255, 0.3);
}

/* 增强表单元素 */
.enhanced-input {
  padding: var(--space-sm) var(--space-md);
  border: 1px solid var(--color-border-light);
  border-radius: 6px;
  transition: all 0.2s ease;
}
.enhanced-input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(22, 93, 255, 0.1);
  outline: none;
}

/* 文字渐变效果 */
.text-gradient {
  background: linear-gradient(90deg, var(--primary-color), var(--success-color));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* 输入框焦点效果 */
.input-focus:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(22, 93, 255, 0.2);
  transition: all 0.3s ease;
}

/* 表格行悬停效果 */
.table-row:hover {
  background-color: rgba(22, 93, 255, 0.05);
  transition: background-color 0.2s ease;
}

/* 淡入动画 */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.fade-in {
  animation: fadeIn 0.5s ease forwards;
}


#translate{
    display: none !important;
    position: fixed;
    top: 105px;
    right: 40px;
    z-index: 1000;
}
@media screen and (max-width:768px) {
#translate{
    position: fixed;
    top: 135px;
    left: 44px;
}
}